package com.yonyou.gmmc.service.maintain.model;

import java.math.BigDecimal;
import java.util.Date;
import javax.persistence.*;

@Table(name = "TT_RESERVATION")
public class TtReservation {
    @Id
    @Column(name = "RESN_ID")
    @SequenceGenerator(name="",sequenceName="seq_TT_RESERVATION")
    private Integer resnId;

    @Column(name = "DEALER_CODE")
    private String dealerCode;

    @Column(name = "RESE_APPL_START_TIME")
    private Date reseApplStartTime;

    @Column(name = "CUST_TEL")
    private String custTel;

    @Column(name = "VIN")
    private String vin;

    @Column(name = "USER_ID")
    private String userId;

    @Column(name = "MAINTAIN_KM")
    private String maintainKm;

    @Column(name = "RESN_UPDATE_DATE")
    private Date resnUpdateDate;

    @Column(name = "APPLY_STATUS")
    private Integer applyStatus;

    @Column(name = "MI_ID")
    private Integer miId;

    @Column(name = "CREATE_DATE")
    private Date createDate;

    @Column(name = "REMIND_STATUS")
    private Short remindStatus;

    @Column(name = "COUPON_ID")
    private String couponId;

    @Column(name = "APPOINT_TYPE")
    private String appointType;

    @Column(name = "REMARKS")
    private String remarks;

    @Column(name = "SA_CODE")
    private String saCode;

    @Column(name = "MT_CODE")
    private String mtCode;

    @Column(name = "COUPON_FLAG")
    private String couponFlag;

    @Column(name = "FREE_COUPON_REMARKS")
    private String freeCouponRemarks;

    @Column(name = "WORK_COUPON_ID")
    private String workCouponId;

    @Column(name = "SOURCE_TYPE")
    private Integer sourceType;

    @Column(name = "TM_WX_MAINTENANCE_SCHEME_ID")
    private BigDecimal tmWxMaintenanceSchemeId;

    @Column(name = "SALES_CONSULTANT_ID")
    private Long salesConsultantId;

    @Column(name = "CREATE_BY")
    private Long createBy;

    @Column(name = "UPDATE_BY")
    private Long updateBy;

    @Column(name = "UPDATE_DATE")
    private Date updateDate;

    @Column(name = "ODD_NUMBER")
    private String oddNumber;

    @Column(name = "MAINTAINNAME")
    private String maintainname;

    @Column(name = "BRN_CODE")
    private String brnCode;

    @Column(name = "RESE_APPL_END_TIME")
    private Date reseApplEndTime;

    /**
     * @return RESN_ID
     */
    public Integer getResnId() {
        return resnId;
    }

    /**
     * @param resnId
     */
    public void setResnId(Integer resnId) {
        this.resnId = resnId;
    }

    /**
     * @return DEALER_CODE
     */
    public String getDealerCode() {
        return dealerCode;
    }

    /**
     * @param dealerCode
     */
    public void setDealerCode(String dealerCode) {
        this.dealerCode = dealerCode;
    }

    /**
     * @return RESE_APPL_START_TIME
     */
    public Date getReseApplStartTime() {
        return reseApplStartTime;
    }

    /**
     * @param reseApplStartTime
     */
    public void setReseApplStartTime(Date reseApplStartTime) {
        this.reseApplStartTime = reseApplStartTime;
    }

    /**
     * @return CUST_TEL
     */
    public String getCustTel() {
        return custTel;
    }

    /**
     * @param custTel
     */
    public void setCustTel(String custTel) {
        this.custTel = custTel;
    }

    /**
     * @return VIN
     */
    public String getVin() {
        return vin;
    }

    /**
     * @param vin
     */
    public void setVin(String vin) {
        this.vin = vin;
    }

    /**
     * @return USER_ID
     */
    public String getUserId() {
        return userId;
    }

    /**
     * @param userId
     */
    public void setUserId(String userId) {
        this.userId = userId;
    }

    /**
     * @return MAINTAIN_KM
     */
    public String getMaintainKm() {
        return maintainKm;
    }

    /**
     * @param maintainKm
     */
    public void setMaintainKm(String maintainKm) {
        this.maintainKm = maintainKm;
    }

    /**
     * @return RESN_UPDATE_DATE
     */
    public Date getResnUpdateDate() {
        return resnUpdateDate;
    }

    /**
     * @param resnUpdateDate
     */
    public void setResnUpdateDate(Date resnUpdateDate) {
        this.resnUpdateDate = resnUpdateDate;
    }

    /**
     * @return APPLY_STATUS
     */
    public Integer getApplyStatus() {
        return applyStatus;
    }

    /**
     * @param applyStatus
     */
    public void setApplyStatus(Integer applyStatus) {
        this.applyStatus = applyStatus;
    }

    /**
     * @return MI_ID
     */
    public Integer getMiId() {
        return miId;
    }

    /**
     * @param miId
     */
    public void setMiId(Integer miId) {
        this.miId = miId;
    }

    /**
     * @return CREATE_DATE
     */
    public Date getCreateDate() {
        return createDate;
    }

    /**
     * @param createDate
     */
    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    /**
     * @return REMIND_STATUS
     */
    public Short getRemindStatus() {
        return remindStatus;
    }

    /**
     * @param remindStatus
     */
    public void setRemindStatus(Short remindStatus) {
        this.remindStatus = remindStatus;
    }

    /**
     * @return COUPON_ID
     */
    public String getCouponId() {
        return couponId;
    }

    /**
     * @param couponId
     */
    public void setCouponId(String couponId) {
        this.couponId = couponId;
    }

    /**
     * @return APPOINT_TYPE
     */
    public String getAppointType() {
        return appointType;
    }

    /**
     * @param appointType
     */
    public void setAppointType(String appointType) {
        this.appointType = appointType;
    }

    /**
     * @return REMARKS
     */
    public String getRemarks() {
        return remarks;
    }

    /**
     * @param remarks
     */
    public void setRemarks(String remarks) {
        this.remarks = remarks;
    }

    /**
     * @return SA_CODE
     */
    public String getSaCode() {
        return saCode;
    }

    /**
     * @param saCode
     */
    public void setSaCode(String saCode) {
        this.saCode = saCode;
    }

    /**
     * @return MT_CODE
     */
    public String getMtCode() {
        return mtCode;
    }

    /**
     * @param mtCode
     */
    public void setMtCode(String mtCode) {
        this.mtCode = mtCode;
    }

    /**
     * @return COUPON_FLAG
     */
    public String getCouponFlag() {
        return couponFlag;
    }

    /**
     * @param couponFlag
     */
    public void setCouponFlag(String couponFlag) {
        this.couponFlag = couponFlag;
    }

    /**
     * @return FREE_COUPON_REMARKS
     */
    public String getFreeCouponRemarks() {
        return freeCouponRemarks;
    }

    /**
     * @param freeCouponRemarks
     */
    public void setFreeCouponRemarks(String freeCouponRemarks) {
        this.freeCouponRemarks = freeCouponRemarks;
    }

    /**
     * @return WORK_COUPON_ID
     */
    public String getWorkCouponId() {
        return workCouponId;
    }

    /**
     * @param workCouponId
     */
    public void setWorkCouponId(String workCouponId) {
        this.workCouponId = workCouponId;
    }

    /**
     * @return SOURCE_TYPE
     */
    public Integer getSourceType() {
        return sourceType;
    }

    /**
     * @param sourceType
     */
    public void setSourceType(Integer sourceType) {
        this.sourceType = sourceType;
    }

    /**
     * @return TM_WX_MAINTENANCE_SCHEME_ID
     */
    public BigDecimal getTmWxMaintenanceSchemeId() {
        return tmWxMaintenanceSchemeId;
    }

    /**
     * @param tmWxMaintenanceSchemeId
     */
    public void setTmWxMaintenanceSchemeId(BigDecimal tmWxMaintenanceSchemeId) {
        this.tmWxMaintenanceSchemeId = tmWxMaintenanceSchemeId;
    }

    /**
     * @return SALES_CONSULTANT_ID
     */
    public Long getSalesConsultantId() {
        return salesConsultantId;
    }

    /**
     * @param salesConsultantId
     */
    public void setSalesConsultantId(Long salesConsultantId) {
        this.salesConsultantId = salesConsultantId;
    }

    /**
     * @return CREATE_BY
     */
    public Long getCreateBy() {
        return createBy;
    }

    /**
     * @param createBy
     */
    public void setCreateBy(Long createBy) {
        this.createBy = createBy;
    }

    /**
     * @return UPDATE_BY
     */
    public Long getUpdateBy() {
        return updateBy;
    }

    /**
     * @param updateBy
     */
    public void setUpdateBy(Long updateBy) {
        this.updateBy = updateBy;
    }

    /**
     * @return UPDATE_DATE
     */
    public Date getUpdateDate() {
        return updateDate;
    }

    /**
     * @param updateDate
     */
    public void setUpdateDate(Date updateDate) {
        this.updateDate = updateDate;
    }

    /**
     * @return ODD_NUMBER
     */
    public String getOddNumber() {
        return oddNumber;
    }

    /**
     * @param oddNumber
     */
    public void setOddNumber(String oddNumber) {
        this.oddNumber = oddNumber;
    }

    /**
     * @return MAINTAINNAME
     */
    public String getMaintainname() {
        return maintainname;
    }

    /**
     * @param maintainname
     */
    public void setMaintainname(String maintainname) {
        this.maintainname = maintainname;
    }

    /**
     * @return BRN_CODE
     */
    public String getBrnCode() {
        return brnCode;
    }

    /**
     * @param brnCode
     */
    public void setBrnCode(String brnCode) {
        this.brnCode = brnCode;
    }

    /**
     * @return RESE_APPL_END_TIME
     */
    public Date getReseApplEndTime() {
        return reseApplEndTime;
    }

    /**
     * @param reseApplEndTime
     */
    public void setReseApplEndTime(Date reseApplEndTime) {
        this.reseApplEndTime = reseApplEndTime;
    }
}